<?php

$HTMLstr .= '<div class="body">
<div class="fetchallOne" style="width:auto">
<div class="fetchallOneInsideText">'. $this->message . '
</div>
<div class="fetchallOneInsideTitle">';
if (empty ($this->link)){
$HTMLstr .= '
    <a href="index.php">Ко всем новостям</a>';
} else {
    $HTMLstr .= $this->link;
}
$HTMLstr .= '</div></div></div>';